package core.chapter3;

public class StringEquals {
	
	public void StringCom()
	{
		String str = new String("Hello");
		if(str.equals(m_str))
		{
			System.out.println("str == m_str");
		}
		
		if("Hello" == str)
		{
			System.out.println("str == Hello");
		}
	}

	private String m_str = new String("Hello");
}
